package cc.comac.mom.entity;

import java.util.Date;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import cc.comac.mom.entity.base.BaseEntity;
import lombok.Data;

@Data
@TableName("qar_restricted_part")
public class QarRestrictedPartEntity extends BaseEntity{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	@TableId(value = "restricted_id",type = IdType.INPUT)
	@TableField("restricted_id")
	private long id;
	private String qarNo;
	private String restrictedProjectPartNo;
	private String restrictedSerialNumber;
	private String finishedProductNo;
	private String finishedProductSerialNumber;
	private String restrictedPartRequirements;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	private Date baseDate;
	private String isCheck;
	private String checkUser;
	private String checkUserJobNumber;
	private String ifChildRestrictedPart;
}
